package io.dy;

import io.dy.bo.StudentBO;
import io.dy.converter.StudentConverter;
import io.dy.vo.StudentVO;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;

import static io.dy.InitData.initStudentBO;

/**
 * @author : dmj
 * @date: 2024/6/3 4:23 下午
 * @description:
 */
public class Main {

    public static void main(String[] args) throws ParseException {
//        StudentBO studentBO = initStudentBO();
//
//        //StudentVO studentVO = StudentConverter.INSTANCE.bo2vo(studentBO);
//
//        HashMap<String, Object> stringObjectHashMap = StudentConverter.INSTANCE.bo2Map(studentBO);
//
//        System.out.println(stringObjectHashMap);

        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        Date parse = sdf.parse("2024-08-06");
        System.out.println(parse);
        System.out.println(parse.getTime());
    }
}
